home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Business Assistant
/
Business Assistant.iso
/
acctg
/
media215
/
media.txt
< prev
Wrap
Text File
|
1991-10-23
|
16KB
|
312 lines
Media Inventory Program v 1.xx - by Gary D. Moore & Associates
Copyright (c) 1990
License Agreement & Disclaimer
I, the user of the Media Inventory Program, agree not to alter, or damage
this or related programs by Gary D. Moore & Associates. And, do assume
full and total responsibility and liability for its use.
I, the user of the Media Inventory Program, will distribute this program
and related programs without fee beyond the cost of a diskette.
I, the user of the Media Inventory Program, also agree that Gary D. Moore &
Associates is not responsible for any damages, nor losses incurred through
use, or misuse of this and related programs even if Gary D. Moore is
advised of such.
If you find mistakes in my typing, grammar, or other such stuff in this text,
these have been strategically placed to assure those who look for things
"wrong" that they will find them! (I attempt to do the impossible.... I try
to please everyone! gary d. moore)
The Media Inventory Program is a specialized relational data base. I needed
a way to track my CDs (compact discs), books, etc. This program allows me
to classify an item, enter the purchase date, the amount paid for it, and a
few other informational tid-bits. It is very easy to use. You've heard
that before... right? This time it's true. The Media Inventory Program has
the necessary commands on the screen. However, reading the following may
also help.
Each file (with the extension MED) can hold several thousand records. The
limitation is RAM, but three to four thousand records is feasible. (If you
have more "records" than that, perhaps, you should invest in a little more
expensive program.) A record in the Media Inventory Program is 77 bytes
long, therefore, one hundred records is a just under 8K. About 100
(additional) records can be added to a file before the Media Inventory
Program forces a restart. (I use an index array in RAM, and don't want to
create too huge an array. Sorry for the inconvenience, but adding a hundred
records at a time is a lot, besides, the restart is very fast even on a
floppy system.)
If the "system" date is not set to (at least) 1991, you will be prompted to
enter the current date. (Come on..., set the DATE and TIME properly upon
booting your system... don't be THAT lazy!) Additional information for
the Media Inventory Program is provided by topic:
1) Keys.
A) The arrow keys, the TAB, and RETURN (Enter) key move the cursor
around the data fields. You may quickly jump to end of a "text"
field by pressing the END key. Or, the HOME key to position the
cursor at the beginning of the text.
B) The normal mode of entering or editing is "over strike". Press the
INS (Insert) key to display a block cursor that "inserts" characters.
Press the INS again, or move to the next data field and it defaults
to over-strike.
C) Two other key combination (as indicated on the screen) are:
1) ALT-C (the ALTERNATE key and the "C" keys pressed together)
clears the field (numeric and date fields, too).
2) ALT-R (the ALTERNATE key and the "R" keys pressed together),
restores the previous "text" (not on the numeric or date fields).
D) The ESC (Escape) key functions as described on the screen. The ESC
key was choosen because it is familiar to most computer users, and
isn't (normally) a TSR hot-key. Pressing ESC while editing a record
will have an additional prompt displayed.
- Pressing "Y" or "y" will normally UPDATE the record (or ADD the
record in the ENTRY mode), or PRINT the screen.
- Pressing "Q" or "q" will end the process and not alter the data.
- Pressing "N" or "n" will place the cursor back in the edit/entry
mode at the top of the screen as noted by the inverse field.
The "key" sequences of the Media Inventory Program are very easy to
understand. Once you have entered about ten records, you will have
mastered them.
2) Menus.
A) Menu selections are made by using the up and down arrow keys, or by
pressing a number within the range of the menu selections. The HOME
key positions the cursor bar on line one of the menu. Pressing END
will position the cursor bar on the last selection on the menu. A
clock is displayed on the lower portion of your screen. Very handy
when "time" slips away while at the terminal.
3) MEDIA.PRO file.
A) Media.PRO saves the name of the previous file you used. If you have
used MEDIA.EXE before reading this text, perhaps, it asked if you
wanted to use the "DEMO.MED" file? Pressing "Y" or "y" will
automatically load the demo information file. The MEDIA.PRO file can
be deleted, but it is created everytime the Media program is executed.
The "PRO file" helps you remember where you left off.
4) Deleted records.
A) The Media Inventory Program automatically uses the space occupied
by deleted records before adding other records to the file. This
saves having to "reorganize" the data file (or PACK it as some data
base programs call it). ("Reorganizing" the Data File is done via
the Utilities Menu.)
B) Deleted records are written to a file named DELETED.MED. If it
doesn't exist, it is created. I've goofed in other data base
programs, so, DELETED.MED saves mistakes from being a total disaster.
DELETED.MED can be used just like any other "MED" file.
CREATING A NEW DATA FILE w/DELETED.MED.
C) If you want to create a new file with selected records from an
existing data file, you can easily do this. Use DOS DELete to
"delete" or REName to "rename" the DELETED.MED file (if it exists).
Then, use the DELETE RECORDS selection from the Main Menu of the
Media Inventory Program. A secondary selection menu allows you to
DELETE by MEDIA TYPE. You can use the DELETED.MED file to your
advantage by deleting the selected records (let's say, BK for BOOKS).
When you are finished, the "selected" records will be in the newly
created DELETED.MED file.
The current data file can be then REORGANIZED via the Utility Menu to
eliminate the newly DELETED records. Finally, use the DOS REName
command to rename DELETED.MED to (for example) BOOKS.MED. Now, you
have a new data file without re-entry of this information.
Also note, if you mistakenly delete a record(s) and have not added,
nor reorg-ed, you can UN-DELETE it by EDITING the record(s) and
pressing "Y" to UNDELETE the record. Then press <ESC> and "Y" to
make changes. The record will be recovered (un-deleted).
5) Media Type & Category.
A) Two alpha characters (automatically capitalized) are used for this
entry. My rational is based on the terms CD - for Compact Disc,
LP - for Long Playing record (the almost obsolete album). Other
suggestions are BK - for Book, CT - for Cassette Tape, SW - for
Software, 45 - for 45 RPM record, etc. Be creative and consistent!
B) Category. Under the topic of "Media Types" is an ambiguous, yet
helpful field titled, CATEGORY. Categories are useful when
classifying Books, Movies, Music, etc. I have included several of
my personal classifications in a ASCII text file, CatCodes.TXT (this
should be included with the MEDIA.EXE program). This text file is
an alphabetized list of three (3) digit alpha codes. There are
(no doubt) hundreds more than these twenty-five plus. However, the
array will only handle about two hundred lines. That should cover
the classification range used by most normal humans.
If you want to alter the CATCODES.TXT file, please make a BACKUP first!
Use a "pure" ASCII text editor. Leave one blank space in front of the
alpha code. I believe the length of the line is 33 characters
(including the space). That should be adequate for a CODE an